Edit...i just realized you said stand alone...most of my comments are integrated scenarios...but i would still say it depends on btu, what the exchanger is made of, and that youd still be better off financially with a gas boiler designed for swiming pool heat.
=================
I think what you would want is to attach a water-to-water heat exchanger to the oil boiler in order to heat the pool. Others here have looked into them, but I also know that @Duraleigh tried this with a home gas boiler and found it to be highly inefficient.
My understanding is that regular boilers as opposed to pool boilers have pretty specific requirements in terms of the return temps on the loop, (eg 130 degrees) depending on the design, and I would not be putting a pool directly into that loop at all. Other reasons to not put the pool in the loop include the metal used for the heat exchanger. Pool boiler exchangers are copper or cupronickel while many home boilers are stainless steel or aluminum. The salt that builds up even in regular chlorine pools would not be great for either.
If you meant to repurpose a disused boiler as opposed to looping the pool into your household heat, you could do it in theory but in cost it would be crazy...eg 3 times the cost of natural gas. In a season or less you'd have paid for a brand new Raypak pool boiler in the energy differential, I suspect.
I have played around with a bunch of scenarios - I have a home boiler and a pool boiler currently and keep thinking about integrating them. But from what I've dug up and now discussed with my hvac guy, I'm already running the most practical way for my site.
The pool boiler in my case needs to be about 2.5 times the btu of my home boiler to maintain a degree an hour in my conditions. So if you size up a home boiler btu wise to account for the secondary water exchanging, then you're going to end up short-cycling your home boiler on the home side, which is bad news for both efficiency and longevity.
Hope that makes sense.