Yes, it is certainly doable. However, it depends on your basic aptitude for driving (some people are just innately quicker to pick up driving skills) and amount of time you devote to practice. Get professional driving lessons (reputable driving school and from an instructor you have confidence in) and back them up with practice.
If you are starting from scratch and given timeframe you have you should aim to get 20 - 30 hours of lessons over the next 4 months and roughly 100 hours private driving. That should be adequate for most people to pass a driving test.
As for myself, I passed 4 months from first starting to drive, that was with a lot of lessons to start, my own car and lots of driving.