Monotone_constraints as non linear

Is it a way to use monotonic constraint by specifying not only a +1/-1 relationship between features and target but also for instance specify that the target varies as X3**2 ?