Can PIO program a 328 chip, just using the SPI interface instead of the serial?
Look for this: Can the Arduino ISP board be used with PlatformIO? - #3 by cslamar