Look at heme and notice where the Fe molecule is bound, chlorophyll binds magnesium in a similar manner through the nitrogen atoms that “ligate” the metal. There is rich organometallic chemistry of metalloporphyrins (heme core) and metallochlorins (chlorophyll core). Some metals are easy to introduce, some much harder.