Selection list checkbox

Can we have people/user opt in to a specific selection of lists and also opt out of a specific selection of lists? If yes, how to do. an example of opt in with specific list Subscribe — Danielle LaPorte. Example of opt out specific lists Kartra