Can I develop and sell a closed-source plugin for LibreOffice without modifying any of LibreOffice's functionality?

The plugin would simply add an interface to call the closed-source plugin. The sales would be limited to the closed-source plugin itself, not LibreOffice.