First time user "can this optimization be solved with cvx"

No, quadratic maximizations are not convex. Please see this answer) for more information on using CVX properly.