How to continuously spawn a certain block underneath myself?

I believe your command is correct. You may have typed your username incorrectly.
An alternative to execute at is using execute positioned as <player> run setblock ~ ~-1 ~ minecraft:oak_planks, but this will not work if you are in a different dimension.

Also, make sure you are running the command on a repeat command block.