Hello Alexander,
As you wrote, the words על ידי in Hebrew are equivalent to the word "by" in English.
Your examples are good,but there are few corrections:
אֲנִי מִתְאַמֵּן בעִבְרִית עַל יְדֵי דִּבּוּר לְעַצְמִי
אֲנִי מִתְאַמֵּן בדיבור עִבְרִית עַל יְדֵי שאני מדַמְיֵן שֶׁאֲנִי מְדַבֵּר עִם יִשְׂרְאֵלִי.
another examples:
הדף נחסם על ידי גוגל.
The page has been blocked by Google.
העוגה הוכנה על ידי אחותי
The cake was prepared by my sister.