Not a good idea if you don’t want water pooling against your foundation. You’d need to add drainage.
I specialize in the least practical and most annoying suggestions, thanks.