In PyCharm, the automatic import suggestions are usually based on shared libraries. Unfortunately, like you said, PyCharm doesn’t automatically recognize custom aliases like tf for tensorflow. I did find a workaround method that can allow you to configure PyCharm to recognize your input. You must use "Live Templates" for custom text.
Steps to re-create for tensorflow:
Go to File > Settings in PyCharm.
Navigate to Editor > Live Templates.
Click the + button to add a new live template.
Set the abbreviation to trigger the import. This will be used as the shortcut you want to type every time. For this example, set it to 'tf'
In the Template text area, write the statement you want. This will be what your shortcut will be replaced with. For this example, set it to 'import tensorflow as tf'
At the bottom, click 'Define' to set the language you want this to be usable in. Select Python.
Apply the changes and press 'OK'
This should allow you to type 'tf' and press tab, setting in the text 'import tensorflow as tf'.