This simple block of code almost gets it working ..
It is not a button that does anything other than display an icon and border ring. You would have to add any other functionality you want, or work it into a button based off of a template. All this does is create the minimum to get the result you want.
Lua Code:
local button = CreateFrame("CheckButton", "MyRoundButton", UIParent)
button:SetPoint("CENTER")
button:SetSize(50, 50)
local texPath = GetSpellTexture(278326)
local icon = button:CreateTexture("BACKGROUND")
icon:SetPoint("CENTER")
SetPortraitToTexture(icon,texPath)
local tex = button:CreateTexture("ARTWORK")
tex:SetPoint("CENTER")
tex:SetTexture("Interface\\Artifacts\\Artifacts-PerkRing-Final-Mask")
You would have to create a simple addon to add this code into. It would only need a toc file and the lua file with the above code in. The below link should help you get that part started. I've heard of a site out there somewhere that creates an addon out of a block of code but I have never used it so do not know what the site is myself.
Assuming you are interesting in learning how to create at least simple addons then this may be a good starting point
https://wow.gamepedia.com/Getting_st...writing_addons