How about a PI4 compute module adapter that plugs in the 20pin connector. All it would need is a power connector and could have all the unused GPIO available. An ethernet port would be need for the non wifi versions.
I have no idea on how to make one.