So, not really sure what you’re doing / trying to achieve? Are you just planning to swap the double chainset for a single but leave everything else the same?
It’ll be simpler, but assuming your current double is a 50/34 compact, by putting on a 32 chainring, you’ll not drop your lower gear very much, and you’ll lose a lot of top end, which may be an issue on fast gravel or road downhills.
I think there maybe compatibility issues between using a MTB crankset with a gravel/road frame, or if you’ve a road BB (I know I had this with one bike I built up, but can’t recall what bike/crank it was)
I’d definitely go 1×11 (it’s what I did on my gravel bike), but I put an 11-46 cassette on, bought a long cage rear mech, and just put a single 42t chainring on my existing double chainset.