To do a decent b series swap you will be looking at around 4k as you said (that includes new t/belt kit, fuel pump & clutch)

It is highly recommended that you remove the head to do valve stem seals. I would be having a chat to an engine builder before you do much more