Is it possible to read/write flash memory of board STM32F407 using Arduino IDE

Maybe you should ask your question over at the Arduino for stm32 forum. They specialise in STM32 chips.