In addition to what my colleagues replied already, I want to add that strictly for your question, we have an official ThingWorx Deployment Architecture guide.
https://www.ptc.com/en/support/refdoc/ThingWorx_Platform/8.5/ThingWorx%20Deployment%20Architecture%20Guide?&art_lang=en&posno=1&q=thingworx%20architecture%20guide&source=search
The Manufacturing Apps were built with a specific usecase in mind, and as such, they have a specific architecture.
If your usecase is very different than that, you can of course build your own custom architecture using the Guide above.
Regardless of the technicalities, I suggest for such broad question to contact your Customer Success Manager and raise this question for him, as a proper answer would require a different setup than the forum here.