Not unless the exact product is expressly designed for that application. A domestic toilet or greywater unit should not be treated as a general flood pump.
What the observation means
Debris, continuous inflow and electrical conditions can differ substantially. A convenient pipe connection does not establish suitability.
A useful next step
Use the appropriate specialist response for flooding and keep affected electrical equipment out of use. Do not connect a hose from an outdoor drain or feed floodwater into a toilet to exploit the macerator. Describe any accidental inflow when arranging assessment.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.