It appears to be grammatically correct, but it is difficult to be sure about it because the meaning of the whole thing is not clear. Further explanation of what you are trying to say would probably make it easier to give a definite answer on the matter.