Postgres PLPGSQL 'un-stored' procedures?
I have found this answer within the great dba.stackexchange.com resource that appears to show that I'm not going to be able to get a return value out of a DO block:
Running a CTE query in a loop using PL/pgSQL
Will leave this open for a bit to see if anyone has a cool workaround.......