That is an interesting question for sure. I'm studying psychology and am currently learning about the way the brain works, especially in the sense of emotions ... as far as I can tell, emotions are a very complex, and sometimes even humans have a hard time expressing or explaining or even identifying their emotions. If it is possible to hardwire a computer to feel or experience such complex emotions, and if they are able to accurately identify them, then I'd say it would be possible But I feel as though we have a long ways to go in the world of technology until it comes to the point where computers can fall in love
I mean in terms of a brain working, it's off of nerves firing electric pulses right? So if there's a way to copy the way neurons work, then maybe they can accomplish that? But true, like what you said, emotions are complex in general and have a lot of different factors/affectors that are hard to predict I just think about the movie, Artificial Intelligence when I think about whether computers can love.