BDD, Behat, Gherkin for linking expectations to requirements?

I may be tilting at windmills, but I wonder if anyone has explored integrating with cucumber/gherkin based testing frameworks?
(eg. Given , When, Then keywords)

Maybe it’s as simple as calling GE from the functions?
Or perhaps there is a way to derive broad expectations from the scenario backgrounds for example?

I’m happy to elaborate if this is an unfamiliar topic.