I could not get my Pico2W to work with wifi when directly soldered to the PCB (V06) via castellated holes. It works when using Pin headers and thus creating empty space below the Pico PCB.
My suggestion is to do a cutout below the antenna section. As there are only 2 signal lines in this area this should be quite easy to accomplish.