How can you place a block on a block with right click action without using shift?

You can't place a block on a block with a right click action without pressing shift.

However, when you fly in creatve mode and hold shift and space at the same time, then you will stay at the same hight, so it's possible to place a block on a block with a right click action while floating in creative mode.