If in 5e everyone can do anything, why do we even have classes?
I don’t think they can, or if so then I’ve not found a way to achieve it! But there seem to be multiple ways to cover the functions that an adventuring party needs that are interesting to discover. I find each class still feels distinctive, though, even if they’re not as restrictive as the ones I’m used to from games based on earlier D&D versions.