That's exactly right, all routers are simply computers usually running Linux and routing/switching software. How often they need a reboot seems to correlate in reverse to how much they cost. Cheap stuff...frequent. The routers in our infrastructure never get a reboot unless it's incidental to some other task like an OS upgrade.