Yes, you can actually. I haven't done this myself, but there are defconfigs for mmu less devices (stm32f4 series for instance). You need some more RAM though, but most evaluation kits don't provide this. Have a look here:
https://elinux.org/STM32
I'm planning to give this a spin on an EVK that I got from work if I find the time.