When in a superflat world (gamemode doesn't matter), trying to boost elytra flight with fireworks results in the fireworks going off like normal. I am not aiming at a block, because the fireworks start from my position and go up like normal. This only happens when I am actually flying with the elytra, otherwise nothing will happen.
Note that it works after reloading the world, or if any other world was loaded before.