I want to delete all cookies, but save ones from whitelisted websites, is it possible?

I’m using brave browser for desktop.
I want to delete all cookies, but save ones from whitelisted websites, is it possible?
Can I also set the brave browser to automatically delete all cookies but save the cookies from whitelisted websites?