I successfully printed envelopes using the previous edition of LibreOffice, but I don’t think the current version does them.
Many others have previously asked about this, it’s easy to find using the search bar above.
But remember; envelope printing can be very dependent on your printer driver/software, as you can read here.