Standalone publish, Task and entity link

Yeah, that is possible.
The simple answer is you would want to take over the collector hook, and set the item context.

There are a couple of other posts around doing this:

2 Likes