There is a foreign movie about the hero who fell asleep in the commodity bed of the furniture city and dreamed of his future, but woke up.

According to your description, it can be confirmed that it is the movie Remote Control of Life (or translated into Remote Control of Magic).

Remote control of life

English name: Click

Release year: 2006

Wikipedia link: /view/424 15 1.htm? Fr = Aladdin

Screenshot of the film:

Strictly speaking, the hero is not completely dreaming, because there is indeed a remote control at the end of the film.

This is a very touching comedy, especially at the end of the film. I believe that many "workaholics" will feel something after reading it.