I’ve done it before. You can only try and it’ll only cost a few seeds if it doesn’t work out.
I use the peat pots I got at Wal-Mart. The square ones come in flats of 8 connected together; 2x4. I split them lengthwise so they’re 4 long and I just dug a trench and put the strip in. They were spaced perfectly.
Did you ever use the pressed paper / cardboard type egg cartons for starter planters? I’ve used them to start seedlings and then plant them into larger pots later. You can just cut them into 12 or 18 pieces and they will eventually “rot” into the soil.