The answer is most likely yes. I have done this many times.
Some web forms make it very difficult. In which case you may have some places where you will need Keyboard Maestro to wait while you do some manual interactions. Still you can get most of the process automated