You might have Apache or Nginx clash port issues. If you can configure the different LAMP stacks to run on their own ports, then you are golden. That is a bit of work though.
DreamFactory is not designed for that, by default. However, DreamFactory Enterprise (DFE) is. You can launch multiple stacks and achieve true multi-tenancy using DFE.
Good luck!