So can I attach my sub to my mains via a parallel connection safely?Yes, given that it is a powered sub (i.e., it has its own built-in amplifier, and an AC power cord that plugs into a wall outlet), and given that the sub has provisions to accept speaker-level inputs from the outputs of the main power amplifier.
Regards,
-- Al