Yes you can put dimmer in light fitting. All you need to do is find the live to switch and switched return and put them in the external switch terminals of dimmer. I do this often as uk switches rarely have neutrals at switch and often switch box is not deep enough