It's possible create table's with foreign key

Hi every one in the community, i will want to know if is possible have one o multiples realationship in a database local in my phone. For example:

If i will decided use create the tables:

Provider

Id
Name

Product

id_pro
Name_pro
id_provider(FK)

Sell_detail

id
Quantity
Package
Id_Product(FK)
Id_Sell(FK)

Sell

Id
Type
State

I would like to know how advisable it is, if it could generate problems when you have large amounts of data, if in the long term it becomes very slow, or if nothing of that happens.