A general method to construct invariant PDEs on homogeneous manifolds