The modem can attach to the IMS APNs, however you'll need to do SIM-specific authentication which requires being able to send the right APDUs to the SIM. Some modems expose the SIM card in one way or another (either an AT command to send APDUs and get responses or as an actual USB smartcard reader) and it would be possible with those to do the authentication flow and then register onto the IMS server (which speaks SIP).
Alternatively, if you're happy with circuit-switched calls, some modems will expose the raw audio (as PCM data) as a separate serial port from which you read/write, and control the call flow using AT commands on the main serial port. Some modems need this to be first enabled via a poorly-documented AT command, and some might need authentication (security by obscurity) to do so which software such as DC Unlocker can break.