I don't understand why you're asking if its Scriptural, when you quoted Scripture itself. Please explain.
Let's look at the different translations and see the difference also:
ESV
Therefore,<sup class="xref" value="(<a href="#cen-ESV-30354A" title="See cross-reference A">A</a>)">(
A)</sup> confess your sins to one another and pray for one another,<sup class="xref" value="(<a href="#cen-ESV-30354B" title="See cross-reference B">B</a>)">(
B)</sup> that you may be healed.<sup class="xref" value="(<a href="#cen-ESV-30354C" title="See cross-reference C">C</a>)">(
C)</sup> The prayer of a righteous person has great power as it is working.
NIV
<sup class="versenum" id="en-NIV-30355">16</sup>Therefore confess your sins to each other and pray for each other so that you may be healed. The prayer of a righteous man is powerful and effective.
KJV
<sup class="versenum" id="en-KJV-30371">16</sup>Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much.
Amplified
<sup class="versenum" id="en-AMP-30369">16</sup>Confess to one another therefore your faults (your slips, your false steps, your offenses, your sins) and pray [also] for one another, that you may be healed and restored [to a spiritual tone of mind and heart]. The earnest (heartfelt, continued) prayer of a righteous man makes tremendous power available [dynamic in its working].