Taboo basically means "nobody should want that!" Like incest.
Lots of things are legal but still a bad idea.
And breaking taboos is not always bad.
And definitions of what is taboo change over time. Mixed-race marriage is an example. Opinions change.