If you were to try and build a drone, the problems you would face are:
Your drone's brain can not update any of its internal variables more often than ten times a second. (0.2 second YOLOL speed limit) This makes any kind of high speed operation extremely difficult, if not impossible.
Rangefinders have a very short range. You can't use rangefinders for long distance rangefinding, and your drone's rangefinders would only give it informations about its immediate surroundings. Similarly, if you wanted to use rangefinders to give it commands, you would have to be extremely close to the thing you wanted to target.
YOLOL only functions within a small range of players. This would mean your Drone would need to be "dumb fired" at the target as it could only run code to change its heading until it leaves range of you, at which point it would be stuck on a straight trajectory with thrusters on a constant vector until it was in range of another player. You could theoretically have some success with this method, but only if used either at very close range or against very large and slow targets. This would mean a constant rate of acceleration relative to the target, Which would mean your drone would need over half a second to slow down once it got in range of the target. .2 seconds to react to a rangefinder finding something in its path, .2 seconds to read its current speed (because that speed will vary based on how far it travelled with no speed control on thrusters) .2 seconds to cut or modify thruster speed, at a total of .6 seconds before it has a chance to attempt to think about turning or firing weapons.
Thrusters might not even work outside YOLOL range. I'm not sure about this but given the intentional limits on YOLOL I wouldn't be surprised if Thrusters automatically shut off if outside that range as well to prevent 'zombie thrusters' from eating system resources, for example parts of a destroyed ship with thrusters attached to fuel lines that just keep flying for a long time. if this is the case you couldn't use a drone that didn't start its operation within YOLOL execution range of a player, and all your target would need to do to counter it is move out of YOLOL range, at which point all code and thrusters would stop working and it would just become a space paperweight.
Limited information accessible to YOLOL. Rangefinders can not tell the difference between objects. This means the only targeting data your drone can use is whether or not something is nearby, but not what it is. To your drone, a weapon system, armor panel, friendly ship, enemy ship, space station, debris from a destroyed ship, and asteroid are the same thing. This means your only usable "ship" targeting system would be its antennae. This would mean your drone can only really target the antennae itself if you want to have control over what it fires at, and its success rate would be determined by where the Antennae were located on the ship. If your drone is set up this way your target could just turn off the transponder and once again be indistinguishable from space junk, and if you wanted to shoot something that isn't an antenna you wouldn't be able to target anything specific other than "solid object near this antenna" which could be the target, or it could be the rock they parked next to or a friendly boarding ship, another drone, etc.
Stuff where a drone could be useful:
Mining:
Since rocks are generally stationary and you can park your ship close to them you could just say "mine anything these rangefinders hit that s between these two ranges" to set up a "mining grid" that prevented the drone form also mining your ship. As long as the mining grid was within YOLOL range the drone could take its time running the scripts required to orient itself and break up rocks while you did something else, or even went AFK.
Cargo trains/armor drones:
Since all such a drone would need to know is where you are, and not to run in to anything you could pretty easily operate one or more "box with a brain" drones to follow your ship around. Just tell it to follow a specific transponder, and use some rangefinders and thruster code to prevent it from running in to anything. You could even design a ship speficially for this with extender arms and multiple radio antenna to pack the largest number of drone boxes within YOLOL range from the pilot seat.