Potentially, yes. Excel does appear to have
an API available which would facilitate that. If you have experience with C#, you could write a plugin utilizing it.
Otherwise, you'd need to keep track internally of which cell is currently selected, separate from the actual state in Excel itself, which would get de-synchronized if you change that state using external means, like the mouse cursor.