It may depend on the regulations of the country you live in but I somehow doubt that it's illegal. I have never seen a newspaper report saying, "Fined for selling bath with no overflow."
You do not make it clear if it's the bath itself or the waste trap that has no overflow provision.
In the UK Council trading standards or building regs people may help you - elsewhere I can't say...
Peccavi
May 2009