Yes, but there is one thing you need to be mindful of: what type of modem you are using. With a standalone modem, it is pretty straightforward for hookups--but it gets a bit more involved with a combo unit.
If it has a bank of 4 or so network ports on the back of it, you have a combination modem/router. This will need to have some bridging options changed by Spectrum (as well as on your account) to make it function as a standalone modem with no wifi management (your personal router will take over all the roles previously handled by the combo unit). They can walk you through the details for how to wire it up as well while they are making these changes for you.