Yes, when specifying only a single statement, its value is automatically returned from the lambda.
Then, since Runnable is a Functional Interface, it can be defined as a lambda. The return type is void, so any return value inside the lambda will be ignored.