Definitely!
Hello! I really think a cooking class is an awesome way to get in touch with the culture of any place. Whenever I travel I always try to book one, you'll meet cool people, get good tips on places to go (places that the locals actually like) and you'll also eat good food.
I've been to a couple of cooking classes in Italy, I can of corse give you some recommendations if you want.
Take care!