it's possible to squeeze a 20b in a miata. but the dash has to be pushed back and the fab work will be ridiculous. yes it is an uncommon swap but it is worth it IMO. but dude you need to seriously take a step back and realize that this isnt youre ever day 4k complete swap.
but whichever path you choose, good luck with it.