You have to use Photoshop for this.
The Oil Painting filter was removed from Photoshop CC 2014 and newer.
I like using Topaz Impression (US$99 or 30-day trial) for creating digital pseudo-paintings from photographs. You will need a relatively new computer with a new graphics card:
Here is a quick demo of my dogs using swirly settings like the PS Oil Painting filter would produce. You can see I started with the Van Gogh II preset and tweaked it a bit:
Here is another of two swans at the local pond, where I started with the Turner Sunset II preset and adjusted things:
Different settings are good for different photographs. The swans have large areas of color so look good with a very large "brush" that wouldn't have worked very well with the dogs.