Yes, you should be able to build it on SDK. You may have to increase allocated RAM for it, though.
Installation of dependencies available at SFOS repos is done automatically by `mb2`. So, you will have to only compile and install the missing ones into SDK.
I would start from OSM Scout Server and then work backwards to fulfill dependencies.