Also:
human dissection (grave robbing)
translating the Bible into English
silk production outside of China (death penalty for exporting worm eggs)
rubber production in Asia (seeds smuggled out of Brazil)
the Underground Railroad
heliocentrism
AIDS treatment (see Dallas Buyers Club)
Needle exchange programs for IV drug users
Ridesharing/airbnb/napster (obvious ones)
SF gay marriage licenses (in defiance of CA law)
Translating the Bible into English was not illegal. I very much doubt Bede or the monks of Lindisfarne were breaking the law!
The same for heliocentrism. No one took Copernicus to court.
With silk and rubber the smuggling was illegal, the actual cultivation was not
Grave robbing was illegal (and still is) but dissection was not.
Needle exchange was illegal in some US states but was legal in many other countries.