Yes.
Cooked mushrooms can be eaten the next day. After the mushrooms are cooked, if they are not eaten on the same day, it is okay to eat them the next day, but you must pay attention to sterilization and heat the mushrooms thoroughly.
Mushrooms will produce a lot of bacteria after being eaten overnight, so if you eat overnight mushrooms, you must heat them thoroughly and store them in the refrigerator.