Morality is something which evolves with time. The norms of morality change with time. For instance, slavery was not immoral in ancient Rome or 18th Century America. Today we tend to frown upon anything that remotely resembles slavery (for example sweat shops in China). That is why legislating morality is obviously a controversial issue. If morality is something fleeting, then does legislating morality make any sense.
Legislating morality is something which has been debated for long by many philosophers. The debate is usually about where to draw the line when it comes to legislating morality. A good way to get started on the topic is to read an argumentative essay about legislating morality which debates if legislating morality is a danger to freedom. Another point of debate that usually features in such essays is if government and judiciary should impose the will of a small section of people on the entire nation.
A related theme that should be explored while researching the topic legislating morality is over criminalization, which implies a proliferation of laws to punish wrong behaviour. Over criminalization is one of the pitfalls of legislating morality. Reading an essay on over criminalization is a good way to understand the relation between the two.
To get a good handle on the topic you should read the point of view of philosophers like John Stuart Mill, Immanuel Kant and Thomas Hobbes. These people can be very tough to read which often makes their valuable ideas inaccessible. If you want to read about what they have to say, you can read an essay about philosophers on legislating morality.
Finally a good way to conclude you research is relating the ideas you research to a modern topic. One such topic is the debate over pornography. Is pornography moral? Should it be banned by legislation? Apply your theories to it.