ATTENTION HONDA EXPERTS! Can I swap a b20 engine w/ manual transmission into a auto crv?

A friend of mine has a AWD crv with a automatic and the engine blew up.
He is selling it for 500 and I want to know what is the best possible engine swap for it?
I'm liking the b20 engine but not sure if it will fit
Not only that but I want to make it into a manual! Is that possible? I know it would need like a hole in the dash for the shifter knob but I'm not sure. And the transmission also has to work for the AWD.

So I'm relying on you Honda mechanics out there to help me out?! And if you had any figures on how much the parts would cost I could appreciate it! Labor is on me!
P.S. I need the best combination of cheap and power! Looking to spend about 1500 on parts

You're better off buying the CRV and changing the engine. Don't know if the B20 will fit or not since you don't mention years. Making it a manual you will need to do a lot of mods. You're better off just changing the engine and forget doing all the other work also will be cheaper in the long run