It varies per country reflecting how that country handles domestic and INTernational tickets and this often has to do with how the machines are programmed and what ticketing stock they actually use. Thus in SE and UK its only possible out of stations.
DE, CH, AT and PL-PKP ONLY and most of SNCF (except some small local stops, these may have go unmanned anyway since) can do it at all salespoints, these do not even need to be in stations. A large part of what looks like DB-points are in fact privatised travel agents, these may or may not tag on an extra fee for such complicated things.
Other countries make a sharp distinction between local and INTernational and in those cases only the INT ones can sell it, even if its for a foreigner wanting the local 1country. NL, BE, DK, CZ, HU come to my mind. Possibly DK has also stopped that complicated money loosing thing.
Then another problem arises, as IR-global is not valid IN the country of the user, except for 1 return to get out and this has to be put in manually in the system. This is often the breaking point, more due to practical reasons (seller completely overasked by this) as the theory. If this can be overcome, that the next hurdle is the cover with the travel report that has to be provided and for this its of course a case of is its there or not. Offically besides this cover there should also be a printed brochure with details of when/where etc, you can use it, but this is very much the same as on the ´official´online www. and even if its there can be years out of date. Without the cover you can have a really hard time! though in theory you should be able to get one later and for free at any salespoint that has it in stock.
@NL-The TRW in Leiden en AMS can do it on the spot, but rather grungingly as they much prefer to do it in quiet moments online, but they also tag on a fee (only take bankcards), as does NS and NMBS and SBB. Thats not just for IR but for any INTernational. And BTW-Breda has lost its separate INTernational window since.
Yes the Swiss tourist office can do it and also the DB in UK-but thats only online or via fone.