Not if you are using pulseIn() to get duration as pulseIn() blocks so you can't send steps while pulseIn() waits for an echo. Take a look at the Ping library. I have never used it but it may be that you can send steps during a measurement with that library.