It does. It’s a know aphorism that constraints bread creativity. A couple of examples (one of deliberate constraints and another of accidental constraints):
Brian Eno and Peter Schmidt created “Oblique Strategies” as ways to challenge yourself.
https://en.wikipedia.org/wiki/Oblique_Strategies
The Köln Concert, which is “the best-selling solo album in jazz history and the best-selling piano album” was improvised because there was a mixup and Keith Jarrett was given a terrible piano.
In the GDC 2016 talk "8 Bit & '8 Bitish' Graphics-Outside the Box" by Mark Ferrari he mentions something similar. (paraphrasing) "If you can make anything you like (with modern Photoshop) you won't need to stop to consider the core of your idea." A lot of our thoughts are not as original as we like to believe and constraints can push your to consider your ideas and designs from another perspective leading to better understanding or design of the core concept. Often because the ideal path to realizing your idea is not available so you will have to reconsider the need or how to creatively implement something that approaches your desired outcome.
Now the GDC talk is about pixel art but the same is true in writing or any creative process (for example painting or coding). Famously some writers limit their selves to typewriters, for example George Orwell or Matty Healy.
Life is too short to think of it in terms of markets and money.
> if you have nothing better to do
The way to create something novel is through creativity, and creativity comes from restrictions because they force you to think in novel ways.
There is a time for experimentation and a time for doing. The latter is not “something better to do” than the former, they both have their place.