Hi, yes you can fit the transformer to a plug top. It would be advisable to make sure the transformer is fixed in place to avoid any stress on the cable. I`m assuming you are not using GU10 lamps as they are 240V and also if you are using LED`s you will need an led driver as apposed to a transformer. Hope this helps,
Mark,
Sparkright Electrical Services