It will work, yes. Will you have issues? Maybe, depends on your situation and configuration.
Sometimes problems arise from the SIP trunk providers. For instance, we see some issues with some providers not supporting T38, which in turn causes problems if the fax server only supports T38.
This will be heavily dependent on who your SIP provider is and what they support.
hth,
nick