I think the limits in the legislation are quite tight. Tighter than existing powers around mental health detentions. So I don't think there is really much room for abuse created with these powers.
I agree it's a not ideal to legislate like this during an emergency. But as the legislative haven't done their homework there don't seem to be many other options.
The law itself doesn't mention COVID-19 so it is general purpose at least.