Don't feel too bad about it. Not because it's ok but because this is what 100% of keepers of this fish find out first hand.
Your proposal is good but may not always be feasible. There are other things to do to alleviate the problem of bashing the snout.
I'd recommend these for all keepers of Brachyplatystoma capapretum aka false piraiba and Brachyplatystoma rousseauxii aka dourada or dorado catfish:
-- keeping the fish solo,
-- keeping it in a spacious tank where its barbels won't reach front and back at the same time,
-- keeping the lights very dim,
-- being very careful around its tank, making no sudden or quick moves, no noises, no sudden light changes,
-- padding the tank walls with filter mats or plastic plants such as faux grass squares,
-- keeping the fish in a pond as opposed to a transparent fish tank.