Yes, absolutely, always have done since I started sailing cats in 1970's. This is the current set-up that I have on my Stealth:
I have found though that compasses are only really useful on the sea as it is quicker on a lake to use the scenery. My current compass is a Plastimo - cheap, but effective. I tried digital but couldn't get on with it and it was expensive anyway.