Yes, Io language is closest to that syntax probably:
https://iolanguage.org/guide/guide.html#Introduction
I wonder if it's more readable to non-programmers than control flow.