There most definitely is. You can ask Cursor to do both those things, for example. It's often faster at it than a person. That said, "vibe coding" implies a hands-off approach that definitely doesn't work.
Write them? Unquestionably. Have them be the basis for "is my vibe coded app doing what the product owner expects?" is where reasonable people have differing opinions