I don’t think there is such a setting.
However … if it’s important for you …
If you are using one single page style, and you never insert hard page breaks, and you don’t need to see where page wrapping will create pages later, and you don’t need the pagination, and you also don’t use headers and/or footers, and …and you can accept all the additional disadvantages of a way nobody else goes, … you can create a “fake page style” not for printing, but for editing only, which can be up to 600 cm long. You will see very few page gaps then.
If actually only the freely flowing text is relevant for you, and … you can -as an alternative- also switch to >View>Web
only during editing …
In advance of printing you need to set the realistic page style and view again, which will cause Writer to create the page wrapping.