That is indeed how it works, yes. XP costs when provided as part of a service are typically converted at a 1xp:5gp ratio, and that includes magic item crafting.
Also worth noting that the time to craft is also calculated based on the base price, not the total market value, so that 5000xp that adds 25kgp to the market value DOESNT add 25 days to the crafting time