have you you checked out "esp32-s3" which costs $7.12 and has wifi and microsd installed on it [0]. Also esp32-cam is another board with similar specifications.

[0] https://www.seeedstudio.com/XIAO-ESP32S3-p-5627.html