If you feed them properly, no, you cannot "guarantee" that a snake will stay a certain size.
The only way possibly would be if you were to starve it. And you shouldn't own animals of any kind if you even THINK of doing that.
If you get a snake, be prepared on the fact that it can get LARGER than average.