Assuming they appear as a serial device or com port in the same way as they do on a PC, it should work. Normally they appear as 2 or 3 comports. Under Android for instance, there is one port for PPP and the other is for AT commands. The 3rd is usually audio but most modems don’t support this anyway.
On a PC they are limited to 500mA because of the USB limit.