Yep you can definitely fit the engine in. Some work is need as far as mounts for the engine and gearbox but nothing impossible.
Do a search for an RS1800 called "MANJ" on fiestaturbo.com when it was owned by jimmyesh, he put ST170 running gear into his RS1800, so that might be of help for you