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 https://www.daniellelaporte.com/subscribe. Example of opt out specific lists https://scrivenercoach.kartra.com/unsubscribe/WnXw/rJyJ/0GQB