it depends on the router.
if it allows a transparent bridge mode then it will work but other than that theres nothing you can really do to avoid a double NAT which will have a negative impact on network performance.
If you have a decent router then check if you can get a standalone modem