The soap? no, wont hurt plants.
Bath soap contains some chemicals that plants like.
What has been washed off and flushed with the bath water may be a different story.
Sorry but I would not put bathwater on the garden unless you had only used something like 'simple soap' to wash with. Some of these bubble baths and things like Radox contain ingredients that can kill plants or at least knock them back.