Towards detecting carbon chemistry on planetary objects with the ORIGIN space instrument