Yes, a custom WordPress implementation can easily handle tens of thousands of posts. We've seen some with millions of posts and large volume of visits, for a similar purpose. In that case it was powered by an EC2 t3.xlarge instance backed by an RDS db.t3.large Mariadb.