Easy to do when trajectory is consistent, we do it all the time.
But yeah, ostensibly the Death Star has a hyperdrive which means it can move very fast (seemingly faster than any warp or trans warp drive). But it’s never really touched on how discreetly that enables it to move. (Based on it seeming to need orbital mechanics at sub-light speed to target the rebel base in Star Wars) I’m guessing a cube would out match it in a dog fight (stupidest dog fight ever). Now Death Star II seemed a little more quick with its super laser in Return of the Jedi (targeting rebel capital ships with ease) so that’s also something to consider.
But I bet your bottom dollar the Borg can get through whatever shielding technology the empire has since physical ships can traverse it without issue.
End of the day you got a huge ball filled with slightly more effective storm troopers that look gross.