So long as you get an IP address from the cable modem that should be fine. Sometimes it is nice to have a router as you can put your networks in their own subnets and NAT out from the router so you can have as many networks as you need. In some cases the service providers will only assign one IP address.