Let's say your equation is
where alpha and beta are arbitrary functions. Now, try your method of subbing
bung this into the first equation, and you get
Now, divide out the expoenents, and your equation becomes
So, you now have a
different equation, but, more than likely it's not one which is any easier to solve-- unless you get lucky.
Note however, this new one is effectively a first order equation -- i.e. by letting

.