Heck, yes! And it’s actually easier with electric guitar because the action is lower than acoustic guitars (and when you barre a chord, it doesn’t make your fingers hurt). If you still want to make the action even easier, you can buy
“extra-super-light” strings.
If you want to buy a non-electric guitar, I would suggest a nylon-string classical guitar, which is easier on the fingers (or might want to get super-light strings and pay $30 to a guitar store and have them lower the action on your steel-string guitar).
But whatever guitar (or ukulele or banjo) you have now is GREAT
(any changes you might make in the future are minor compared to the awesomeness of this awesome, easy technique you’re going to be doing).