もちろんです！
RPi.GPIOライブラリを使ってGPIOピンのオンオフを切り替えるpythonプログラムです。
```
import RPi.GPIO as GPIO 
from time import sleep 
GPIO.setwarnings(False) 

# set pin mode to output
GPIO.setmode(GPIO.BCM) 
GPIO.setup(17, GPIO.OUT)

# Toggle GPIO on for two seconds 
GPIO.output(17, True) 
sleep(2) 
GPIO.output(17, False)
```
Sure! 
Here is a python program that toggles a GPIO pin on and off using RPi.GPIO library.
```
import RPi.GPIO as GPIO 
from time import sleep 
GPIO.setwarnings(False) 

# set pin mode to output
GPIO.setmode(GPIO.BCM) 
GPIO.setup(17, GPIO.OUT)

# Toggle GPIO on for two seconds 
GPIO.output(17, True) 
sleep(2) 
GPIO.output(17, False)
```