Rectangular hole, is it possible?

Yes but in the board only not as part of a part (i.e. parts can’t have slots.) Search in the forums for slots in pcb for instructions (there are some on the web site as well) and there is a section on this in this tutorial

in one of the latest parts.

Peter