you COULD, obviously, if it is possible to build a compost pile, it is possible to pile compost anywhere, effectively raising soil level.
But I'd guess that normal gardening efforts stop short of that, so top dressing with compost doesn't typically raise the soil.
Can plants raise their crown over time, if conditions call for it?