Absolutely. However, I would make use of things you already own before buying anything. Can you swap the two areas short-term? Do you have a bigger table elsewhere in the house you could use short-term?
I am admittedly assuming your DH is away short-term, which I define as less than one year. If he is out of the picture indefinitely, then I would rearrange the whole house to suit my new needs and I would call in reinforcements (family and friends) to help and/or ask for the items I needed. Craigslist and freecycle would be next on my list, then the thrift store. Lastly, I would buy retail on sale at an inexpensive place. Unless you plan to have oodles of kids, the timeframe you need to be right with them is relatively short and I personally wouldn't make a big investment to achieve it.
Also, to add another thought.... I was at a friend's house recently and she added a "sofa table" to her great room for the laptop and homework supplies for herself and kids. It is an elegant response to her dilemma. (Three kids needing her attention while her oldest did his homework and she wants to keep a close eye on his computer usage.) The sofa table isn't as deep as a regular desk nor a computer station, but they can be quite long. This works well for laptops and the newer monitors.
"Kind words can be short and easy to speak, but their echoes are truly endless." - Mother Teresa