Yes if the soil is fairly open it does no harm to plant the a little bit deep, I use a pointed dibber, 3 or 4cm . I have had to watch things in the past because my soil is very fine and quite clay like so when the sun gets on it it set very hard , this can restrict the growth of the onion bulb. Now with my no dig raised beds the soil is open and not a problem.