You wouldn’t be able to go straight to a row like that, as rows don’t have corresponding values, they only exist at the type level. If you do only purely want a row and not something like a Variant result you could return a proxy though.
It looks like what you’re wanting here would require dependant types - assuming you want to calculate the return value of makeRow purely from the input map, rather than it being static like this example? That would only be possible in PS if the information about the map contents still existed in some way that it could be used at compile time.
You would probably be better off doing this the other way around: specify the row that you want, and generating the map from it instead. 