I always enjoyed making long, elaborate stories for my characters - no matter which game I play - just for fun. But in many games, especially the online kind, min-maxing is required to stay relevant - and so, I put class-fantasy and the roleplaying aspect aside to prioritize performance.
But, when I play solo RPGs, I tailor EVERYTHING for my specific character. Class fantasy, character design, roleplaying - call it what you will - games like BG3 is where I actually wanna focus on my character and their story rather than staring at number sheets to figure out how to best min-max my builds. If I feel motivated enough, I'll even write my own short scribbles or short-novels for my character (writing and reading is another hobby of mine).
The exception would be if I find the game extraordinary enough to actually replay it over and over and feel like challenging the higher/highest level difficulties. THEN I'll obviously put some work and thought into the build-designs and in-game choices, rather than doing "just another" round of roleplaying.