Well, I have seen telescopes on many ships, on tripods, in observation lounges, etc.

Now - looking at astral bodies would he harder than islands or other ships, but many ships are actually very stable with almost no movement or even vibration, especially up front (away from the propellers).