magento2 – Magento 2 AJAX Post on the controller of another module

I was wondering if it was possible to send an AJAX publication to a controller contained in a custom module that I created. The reason is that I want to separate my logic module module sales.

Otherwise, would it be possible to contain the controller in Magento_Sales, because currently, the structure of my folders contains only front files replaced, such as templates / templates, etc.