Of course. It's DBUS.
You can trigger dbus functions using QDbus.
`qdbus org.kde.konsole` shows you available functionality.
Browse through it.
Looks like a bunch of konsole stuff never got implemented as dbus interfaces in KDE4. This specific use case seems to be covered by the konsoleprofile command (I wonder why the devs chose that route instead of exposing a dbus interface).