It sounds like you want something related to inventory dynamics?
You could definitely do everything in the linked lecture using only PyMC, you’d just need to specify a demand function and a restock schedule, then you could run simulations that answer the types of questions posed in the OP.