How to include own tx into the block I'm mining?

There is no general way to do this, also the block could be full when you are minging this preventing the tx to be added.
Also I dont see a real use case for this