I did indeed make the searchlight on my RAF Crash Tender build rotate under servo control but to engineer an up and down movement as well, although not impossible to do, would involve quite a bit more mechanics than electrics to accomplish.
The available space in the forward cabin would allow for it but the cabin roof would need to de detachable to allow access to the mechanism.
Here's my build blog: https://model-boats.com/blogs/23951
Mike Turpin has also motorised the searchlight on his Crash Tender too and he has a removable roof with a very clever pantograph action to access the searchlight servo and mechanism!.
Check out his build blog too. https://model-boats.com/blogs/37275