Steps to recreate:
Enter a downward bubble column.
Once you reach the bottom, shift so that you take no damage
Enter swim mode
Aim your mouse/camera upwards and press space
The player ascends while in a downward bubble column
This will work in both multiplayer and singleplayer, and it is not affected by whether or not the bubble column is surrounded by water.
Video taken in 1.17.0, tested and works in 1.17.1 Pre-release 1.
can confirm in both 1.19.4 and 23w12a