Machine Learning method maps from $\mathbb{R}$ to $\mathbb{R}^2$
Sure.  You can use a neural network with fully connected layers; or a neural network with deconvolutional layers.  The latter is common in image segmentation tasks, so you may already be familiar with it.