MCU with same number

I want to use STM32G070KBT6 but this mcu does not supported by platformio. then, Can I use ST Nucleo G070RB to program STM32G070KBT6?